package com.smallkk.girl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author song
 * @date 2017/12/1 21:45
 */
@RestController
public class HelloController {

    @Autowired
    private GirlProperties girlProperties;

    @RequestMapping(value = {"/index", "/hi", "/hello/{id}"}, method = RequestMethod.GET)
    public String say(@PathVariable("id") Integer id) {
//        return girlProperties.getCupSize();
        return "id:    " + id;
    }
}
